package cn.gary.oaserver.params;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author: 邓必宏
 * @title:
 * @Demo:
 * @DateTime: 2024/3/28
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "分页查询", description = "用于分页")
public class PageParams {

    @ApiModelProperty(value = "当前页码")
    private Integer pageIndex =1;

    @ApiModelProperty(value = "当前页面大小")
    private Integer pageSize =5;

    @ApiModelProperty(value = "排序规则")
    private String sort="";

}
